package cn.itsource.basic.util;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageBean<T> {
	private int totals =  0;
	private List<T> data =new ArrayList<>();
	public PageBean() {

	}
	public PageBean(int i, List<T> data) {
		this.totals = i;
		this.data = data;
	}

}
